package net.vkits.common.dto;

import net.vkits.common.BaseModel;
import net.vkits.common.validators.CellPhoneNum;
import net.vkits.common.validators.IdCardNo;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * Created by ethan-liu on 16/6/1.
 */
public class CustomerDTO extends BaseModel {
    // 姓名
    private String name;
    // 身份证号
    @IdCardNo
    private String idCardNo;
    // 手机号
    @NotEmpty
    @CellPhoneNum
    private String cellPhoneNum;
    // 验证码
    private String verifyCode;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIdCardNo() {
        return idCardNo;
    }

    public void setIdCardNo(String idCardNo) {
        this.idCardNo = idCardNo;
    }

    public String getCellPhoneNum() {
        return cellPhoneNum;
    }

    public void setCellPhoneNum(String cellPhoneNum) {
        this.cellPhoneNum = cellPhoneNum;
    }

    public String getVerifyCode() {
        return verifyCode;
    }

    public void setVerifyCode(String verifyCode) {
        this.verifyCode = verifyCode;
    }
}
